﻿CREATE TABLE [dbo].[tblProductVendor] (
    [VendorCode] VARCHAR (12) NOT NULL,
    [ProdGrpID]  INT          NOT NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Links a product group to a vendor', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblProductVendor';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The vendor code.  Links to tblVendor', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblProductVendor',
	@level2type = N'COLUMN', @level2name = N'VendorCode';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The product group ID.  Links to vdn_MSTProdGroup', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblProductVendor',
	@level2type = N'COLUMN', @level2name = N'ProdGrpID';

